package com.cowealth.platform.common.base.constant;

/**
 * 通用的一些简单枚举
 *
 * @author : skycdm
 * @version : 1.0.0
 * @date : 2020/7/20 15:20
 */
public enum CommonEnum {


    /**
     * 是
     */
    YES(1, "是"),
    /**
     * 否
     */
    NO(0, "否");


    private int code;

    private String desc;

    CommonEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }


    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }}
